// tongji.cpp: implementation of the tongji class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "d.h"
#include "tongji.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
int static pichizhongjiner=0;
tongji::tongji()
{

}

tongji::~tongji()
{

}

//DEL void tongji::RefreshData()
//DEL {
//DEL    
//DEL 
//DEL 	
//DEL }

void tongji::RefreshData()
{
variant_t Holder, strQuery,ss;
strQuery= "select * from picijine ";

theApp.ADOExecute(theApp.m_pRs, strQuery);

int iCount = theApp.m_pRs->GetRecordCount();
if ( 0==iCount ) 
return;
theApp.m_pRs->MoveFirst();

int i=0;
while(!theApp.m_pRs->adoEOF)
{
	Holder = theApp.m_pRs->GetCollect("IN_code");
	if(Holder.vt!=VT_NULL)
	//	m_listDisp.InsertItem(i, (char*)(_bstr_t)Holder);
	
	Holder = theApp.m_pRs->GetCollect("IN_allmoney");
	if(Holder.vt!=VT_NULL)
	
	
	
	theApp.m_pRs->MoveNext();
	i++;
}
}
